/// code : 200
/// msg : "获取成功"
/// data : {"info":{"id":8,"title":"三十","thumb":"http://nft.limaiwl.cn//storage/uploads/20220322/13a4daab42a9ee571b6ee7eaab84c95f.gif","content":"<p>厂址是云胡不喜 在于得</p>","author":"","keywords":null,"type":4,"cate_id":3,"status":1,"description":"","click":0,"sort":2,"update_time":"2022-03-22 15:48:15","create_time":"2022-03-22 15:48:15","jump_type":0,"jump_content":""}}

class HelpDetailModel {
  HelpDetailModel({
    int? code,
    String? msg,
    HelpDetaiData? data,
  }) {
    _code = code;
    _msg = msg;
    _data = data;
  }

  HelpDetailModel.fromJson(dynamic json) {
    _code = json['code'];
    _msg = json['msg'];
    _data = json['data'] != null ? HelpDetaiData.fromJson(json['data']) : null;
  }

  int? _code;
  String? _msg;
  HelpDetaiData? _data;

  int? get code => _code;

  String? get msg => _msg;

  HelpDetaiData? get data => _data;

  Map<String, dynamic> toJson() {
    final map = <String, dynamic>{};
    map['code'] = _code;
    map['msg'] = _msg;
    if (_data != null) {
      map['data'] = _data?.toJson();
    }
    return map;
  }
}

/// info : {"id":8,"title":"三十","thumb":"http://nft.limaiwl.cn//storage/uploads/20220322/13a4daab42a9ee571b6ee7eaab84c95f.gif","content":"<p>厂址是云胡不喜 在于得</p>","author":"","keywords":null,"type":4,"cate_id":3,"status":1,"description":"","click":0,"sort":2,"update_time":"2022-03-22 15:48:15","create_time":"2022-03-22 15:48:15","jump_type":0,"jump_content":""}

class HelpDetaiData {
  Data({
    Info? info,
  }) {
    _info = info;
  }

  HelpDetaiData.fromJson(dynamic json) {
    _info = json['info'] != null ? Info.fromJson(json['info']) : null;
  }

  Info? _info;

  Info? get info => _info;

  Map<String, dynamic> toJson() {
    final map = <String, dynamic>{};
    if (_info != null) {
      map['info'] = _info?.toJson();
    }
    return map;
  }
}

/// id : 8
/// title : "三十"
/// thumb : "http://nft.limaiwl.cn//storage/uploads/20220322/13a4daab42a9ee571b6ee7eaab84c95f.gif"
/// content : "<p>厂址是云胡不喜 在于得</p>"
/// author : ""
/// keywords : null
/// type : 4
/// cate_id : 3
/// status : 1
/// description : ""
/// click : 0
/// sort : 2
/// update_time : "2022-03-22 15:48:15"
/// create_time : "2022-03-22 15:48:15"
/// jump_type : 0
/// jump_content : ""

class Info {
  Info({
    int? id,
    String? title,
    String? thumb,
    String? content,
    String? author,
    dynamic keywords,
    int? type,
    int? cateId,
    int? status,
    String? description,
    int? click,
    int? sort,
    String? updateTime,
    String? createTime,
    int? jumpType,
    String? jumpContent,
  }) {
    _id = id;
    _title = title;
    _thumb = thumb;
    _content = content;
    _author = author;
    _keywords = keywords;
    _type = type;
    _cateId = cateId;
    _status = status;
    _description = description;
    _click = click;
    _sort = sort;
    _updateTime = updateTime;
    _createTime = createTime;
    _jumpType = jumpType;
    _jumpContent = jumpContent;
  }

  Info.fromJson(dynamic json) {
    _id = json['id'];
    _title = json['title'];
    _thumb = json['thumb'];
    _content = json['content'];
    _author = json['author'];
    _keywords = json['keywords'];
    _type = json['type'];
    _cateId = json['cate_id'];
    _status = json['status'];
    _description = json['description'];
    _click = json['click'];
    _sort = json['sort'];
    _updateTime = json['update_time'];
    _createTime = json['create_time'];
    _jumpType = json['jump_type'];
    _jumpContent = json['jump_content'];
  }

  int? _id;
  String? _title;
  String? _thumb;
  String? _content;
  String? _author;
  dynamic _keywords;
  int? _type;
  int? _cateId;
  int? _status;
  String? _description;
  int? _click;
  int? _sort;
  String? _updateTime;
  String? _createTime;
  int? _jumpType;
  String? _jumpContent;

  int? get id => _id;

  String? get title => _title;

  String? get thumb => _thumb;

  String? get content => _content;

  String? get author => _author;

  dynamic get keywords => _keywords;

  int? get type => _type;

  int? get cateId => _cateId;

  int? get status => _status;

  String? get description => _description;

  int? get click => _click;

  int? get sort => _sort;

  String? get updateTime => _updateTime;

  String? get createTime => _createTime;

  int? get jumpType => _jumpType;

  String? get jumpContent => _jumpContent;

  Map<String, dynamic> toJson() {
    final map = <String, dynamic>{};
    map['id'] = _id;
    map['title'] = _title;
    map['thumb'] = _thumb;
    map['content'] = _content;
    map['author'] = _author;
    map['keywords'] = _keywords;
    map['type'] = _type;
    map['cate_id'] = _cateId;
    map['status'] = _status;
    map['description'] = _description;
    map['click'] = _click;
    map['sort'] = _sort;
    map['update_time'] = _updateTime;
    map['create_time'] = _createTime;
    map['jump_type'] = _jumpType;
    map['jump_content'] = _jumpContent;
    return map;
  }
}
